package test3_13.Player;

public class Homework7_5_Player {
    public static void main(String[] args) {
        /*
        定义一个球员类(Player)，属性有身高，体重，姓名，实例化两个球员，分别是姚明和科比
        */

        Player player1 = new Player();
        player1.height = 2.26;
        player1.weight = 140.6;
        player1.name = "姚明";

        Player player2 = new Player();
        player2.height = 1.98;
        player2.weight = 96;
        player2.name = "科比";

    }
}
